package com.ftg.learn.myinterface.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 商品实体类 对应的是shop_product表
 *
 * @author 布衣
 */
public class ShopProductEntity {

    private Long id;

    private String proName;

    private BigDecimal proPrice;

    private String proDesc;

    //0 表示可用，1 表示不可用  0 表示上架  1  下架
    private Byte proStatus;

    //0 瓶装 1 桶装 2 箱
    private Byte proType;

    private Integer proNum;

    // 分类表里面的类型
    private Long proCategoryId;

    private LocalDateTime gmtModify;

    private LocalDateTime gmtCreate;

    @Override
    public String toString() {
        return "ShopProductEntity{" +
                "id=" + id +
                ", proName='" + proName + '\'' +
                ", proPrice=" + proPrice +
                ", proDesc='" + proDesc + '\'' +
                ", proStatus=" + proStatus +
                ", proType=" + proType +
                ", proNum=" + proNum +
                ", proCategoryId=" + proCategoryId +
                ", gmtModify=" + gmtModify +
                ", gmtCreate=" + gmtCreate +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProDesc() {
        return proDesc;
    }

    public void setProDesc(String proDesc) {
        this.proDesc = proDesc;
    }

    public Byte getProStatus() {
        return proStatus;
    }

    public void setProStatus(Byte proStatus) {
        this.proStatus = proStatus;
    }

    public Byte getProType() {
        return proType;
    }

    public void setProType(Byte proType) {
        this.proType = proType;
    }

    public Integer getProNum() {
        return proNum;
    }

    public void setProNum(Integer proNum) {
        this.proNum = proNum;
    }

    public Long getProCategoryId() {
        return proCategoryId;
    }

    public void setProCategoryId(Long proCategoryId) {
        this.proCategoryId = proCategoryId;
    }

    public LocalDateTime getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(LocalDateTime gmtModify) {
        this.gmtModify = gmtModify;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public BigDecimal getProPrice() {
        return proPrice;
    }

    public void setProPrice(BigDecimal proPrice) {
        this.proPrice = proPrice;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
